package com.program.facesigninsystem.entity;

import org.springframework.stereotype.Service;

import java.util.Date;

@Service
public class UserInfo {
    public String uid;
    public String openid;
    public String name;
    public int type;
    public String Class;
    public String academy;
    public String university;
    public String major;
    public String token;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public void setOpenid(String account) {
        this.openid = account;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setType(int type) {
        this.type = type;
    }

    public void setClass(String Class) { this.Class = Class; }

    public void setAcademy(String academy) {
        this.academy = academy;
    }

    public void setUniversity(String university) {
        this.university = university;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getUid() {
        return uid;
    }

    public String getOpenid() {
        return openid;
    }

    public String getName() {
        return name;
    }

    public int getType() {
        return type;
    }

    //Object类中本身就有getClass()方法
    //public String getclass() { return Class; }

    public String getAcademy() {
        return academy;
    }

    public String getUniversity() {
        return university;
    }

    public String getMajor() {
        return major;
    }

}
